/* Stores the types of events
 * 
 */

package map;

import java.util.Random;

public enum EventType {

	BATTLE, STORE, QUEST_GIVER, QUEST_MARKER, RANDOM_EVENT, FUELING_STATION, EMPTY;
	
	
	//returns a random value of the enumerated type
	public static EventType random(){
	
		int r = new Random().nextInt(100); //random number for randomizing event type 
		
		//550% for a battle
		if(r < 55)
			return BATTLE;
		
		//45% for a random event
		else
			return RANDOM_EVENT;
	}//random
}//EventTypes
